package com.example.webserver.mapper;

import com.example.webserver.entity.Category;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface Categorymapper {
    void add(Category category);
    List<Category>list(int id);
    void update(Category category);
    Category findcategorybyId(int id);
    void delete(Integer id);
}
